package team.hyznrj.studentsys.exception;
/**
 * 自定义异常基类
 */
public class ZzfDataBaseException extends RuntimeException{
	protected String msg;
	protected int code;
	private static final long serialVersionUID = 2658373176295148966L;
	public ZzfDataBaseException(){
		super();
	}
	public ZzfDataBaseException(String msg){
		super(msg);
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
}
